package cn.aitrox.ry.service.anno.mapper;

import cn.aitrox.ry.service.anno.entity.TaskEntity;
import cn.aitrox.ry.service.anno.po.task.TaskFindCondPo;
import com.github.abel533.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskMapper extends Mapper<TaskEntity> {
    List<TaskEntity> findByCond(TaskFindCondPo cond);

    List<TaskEntity> findJoinableByKeyword(@Param("userId") Integer userId, @Param("status") Integer status, @Param("id")Integer id, @Param("likeName")String likeName, @Param("pubMethod") Integer pubMethod);
}
